// 自动生成模板PmsSpuInfoDesc
package biz

import "github.com/go-kratos/kratos/v2/log"

// pmsSpuInfoDesc表 结构体  PmsSpuInfoDesc
type PmsSpuInfoDesc struct {
	SpuId   *int    `json:"spuId" form:"spuId" gorm:"primarykey;comment:商品id;column:spu_id;size:19;"`   //商品id
	Decript *string `json:"decript" form:"decript" gorm:"comment:商品介绍;column:decript;size:4294967295;"` //商品介绍
}

// TableName pmsSpuInfoDesc表 PmsSpuInfoDesc自定义表名 pms_spu_info_desc
func (PmsSpuInfoDesc) TableName() string {
	return "pms_spu_info_desc"
}

type PmsSpuInfoDescRepo interface {
}

type PmsSpuInfoDescUsecase struct {
	repo PmsSpuInfoDescRepo
	log  *log.Helper
}

func NewPmsSpuInfoDescUsecase(repo GreeterRepo, logger log.Logger) *PmsSpuInfoDescUsecase {
	return &PmsSpuInfoDescUsecase{repo: repo, log: log.NewHelper(logger)}
}
